package com.gaoqi.springboot_shiro.service;

import com.gaoqi.springboot_shiro.pojo.Role;
import com.gaoqi.springboot_shiro.pojo.User;

public interface UserService {

    void register(User user);

    User findUserByUname(String uname);

    User findRolesByUname(String uname);

    Role findPremissionById(Long rid);
}
